//
//  FBDDownloadManger.h
//  AVPlayerTest
//
//  Created by feng on 16/9/20.
//  Copyright © 2016年 冯宝东. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "FBD_Header.h"
@interface FBDDownloadManger : NSObject

@property (nonatomic,copy)downloadCurrentBlock currentDownBlock; //当前的下载block回调
@property (nonatomic,copy)downloadCompleteBlock completeBlock;     //完成下载block回调
@property (nonatomic,strong)NSMutableArray* allFBDDownObj;

+(instancetype)defaultTool;
//设置当前的进度回调
-(void)fbdDownloadMangerConfigeAllCurrentDownloadBlock:(downloadCurrentBlock)downBlock;
//设置当前的完成回调
-(void)fbdDownloadMangerConfigeDownloadCompleteBlock:(downloadCompleteBlock)completeBlock;



//开始下载目标的URL数组
-(void)beginDownLoadMArrayURL:(NSMutableArray*)urlMarray;
//暂停当前所有的URL下载
-(void)cacelAllLoadingMArrayURL;


/********************************还没有impelent的API****************************************/
//获取所有加入下载的URL
-(NSMutableArray*)getAllDownloadUrl;
//获取所有在等待下载URL
-(NSMutableArray*)getAllWaitingDownloadUrl;
//获取所有正在下载URL
-(NSMutableArray*)getAllLoadingDownloadUrl;

//开始指定的URL下载
-(void)beginIndexDownLoadURL:(NSString*)indexURL;
//取消正在下载的URL
-(void)cacelIndexDownLoadingURL:(NSString*)indexURL;






@end
